<!DOCTYPE html>
<html lang="en">
<#--头像-->
<nz-avatar [nzSrc]="item.xxxxx" nzIcon="user" [nzShape]="'square'" [nzSize]="'large'" class="avatar"></nz-avatar>
<#--上传-->
<app-upload-picture [max]="1" [initList]="initList" (uploadSuccess)="uploadSuccess($event)"></app-upload-picture>
<script>
    initList: any[] = [];
    initForm() {
        if (this.record.picture) {
            this.initList=[{url:this.record.picture}]
        }else {
            this.initList=[]
        }
    }

    uploadSuccess(image: Array<NzUploadFile>) {
        if (image.length > 0) {
            this.record.picture=image[0].url
        }
    }
</script>
</html>
<script>
    ${tableName!}ren:[
        {
            path: '${tableName!}Manage',
            loadChildren: () => import('./pages/${table\-name!}-manage/${table\-name!}-manage.module').then(module => module.${TableName!}ManageModule)
        }
    ]


    route=  {
        title: '${TableName!} Management',
        icon: 'sisternode',
        children: [
            {
                title: '${TableName!}',
                url: '/${tableName!}Manage/${tableName!}',
            },
        ],
    }
</script>
